import java.util.logging.Logger;

public class TcpServerThread extends Thread {

    TcpServer tcpServer;

    Logger logger = Logger.getLogger(TcpServerThread.class.getName());

    public TcpServerThread() {
        super();
        tcpServer = new TcpServer();
        tcpServer.socketInitial();
    }

    @Override
    public void run()
    {
        logger.info("TcpThread");
        tcpServer.Accept();
    }
}